package com.hospital.wx.controller.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/*
 * 构建微信支付参数
 * */
@Data
public class WxPayCreateForm {

    @NotBlank(message = "orderId不能为空")
    private String orderId;

    @NotNull(message = "总金额不能为空")
    private BigDecimal totalFee;

    private String body;

    @NotBlank(message = "用户的openId不允许为空")
    private String openId;

}
